include config

all: $(SYSTEMS)
clean: $(patsubst %,%-clean,$(SYSTEMS))
	rm -f $(patsubst %,Makefile.%,$(SYSTEMS))

Makefile.%: protocols/%.pro analyse analyse.math config 
	$(ANALYSE) $< -O output/ -m

include $(patsubst %,Makefile.%,$(SYSTEMS))

